package com.chub.study.modules.constants;

/**
 * @author : chub
 * @version : V1.0.0
 * @fileName : IComm.java
 * @description : TODO
 * @createTime : 2022-11-16 17:27
 */
public interface IComm {

    enum TMessageEnum {

        // HANDLE_STATE 处理状态(1-接收报文, 2-无效报文, 3-处理失败, 4-处理完成)
        RECEIVE_MESSAGE("1", "接收报文"),
        INVAILD_MESSAGE("2", "无效报文"),
        HANDLE_FIAL("3", "处理失败"),
        HANDLE_SUCC("4", "处理完成");

        private String code;
        private String desc;

        TMessageEnum(String code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public String getCode() {
            return code;
        }

        public String getDesc() {
            return desc;
        }


    }

}
